<?php if(!defined('SABLOG_ROOT')) exit('Access Denied');?>
{template header}

	<div id="page">
		<div id="wrap">
			<div id="top">
				<span>浏览模式: <a href="$options[url]?viewmode=normal{$modelink}">标准</a> | 列表</span>
				<strong>$navtext</strong>
			</div>
			<!--{if $total}-->
				<ul class="list">
				<!--{loop $articledb $article}-->
					<li>$article[dateline] -
					<!--{if $article['stick']}-->[置顶] <!--{/if}-->
					<a href="$article[url]">$article[title]</a> (浏览:<span style="color:#833">$article[views]</span>, 评论:<span style="color:#833">$article[comments]</span>)</li>
				<!--{/loop}-->
				</ul>
				$multipage
			<!--{else}-->
				<p>没有任何文章</p>
			<!--{/if}-->
		</div>
		<div id="sidebar">

			<!--{if $options['show_calendar']}-->
				<div id="showcalendar">
					<table cellpadding="0" cellspacing="1" style="width:100%">
						<tr align="center">
							<td colspan="7" class="curdate"><a href="$prevmonth">&laquo;</a> $calendar[cur_date] <a href="$nextmonth">&raquo;</a></td>
						</tr>
						<tr>
							<th class="week"><span style="color:#833">日</span></th>
							<th class="week">一</th>
							<th class="week">二</th>
							<th class="week">三</th>
							<th class="week">四</th>
							<th class="week">五</th>
							<th class="week"><font color="#53A300">六</font></th>
						</tr>
						$calendar[html]
					</table>
				</div>
			<!--{/if}-->

			{template sidecomm}

			<!--{if $options['hottags_shownum']}-->
				<h4>Hot Tags</h4>
				<ul>
					<!--{if !$tagcache}-->
						<li>没有任何标签</li>
					<!--{else}-->
						<!--{loop $tagcache $data}-->
						<li><a href="$data[url]">$data[tag]</a> <span>($data[usenum])</span></li>
						<!--{/loop}-->
					<!--{/if}-->
				</ul>
			<!--{/if}-->

			<!--{if $options['archives_num']}-->
				<h4>Archives</h4>
				<ul>
					<!--{if !$archivecache}-->
						<li>没有任何归档</li>
					<!--{else}-->
						<!--{loop $archivecache $key $data}-->
						<li><a href="$data[url]">$key</a> <span>($data[num])</span></li>
						<!--{/loop}-->
					<!--{/if}-->
				</ul>
			<!--{/if}-->

			<!--{if $options['recentcomment_num']}-->
				<h4>Recent Comments</h4>
				<ul>
					<!--{if !$newcommentcache}-->
						<li>没有任何评论</li>
					<!--{else}-->
						<!--{loop $newcommentcache $data}-->
						<li><a href="$data[artilce_url]">$data[content]</a><br /><span>$data[dateline] - $data[author]</span></li>
						<!--{/loop}-->
					<!--{/if}-->
				</ul>
			<!--{/if}-->

			<!--{if $options['show_statistics']}-->
				<h4>Statistics</h4>
				<ul>
					<li>分类数量: <span class="num">$stats[cate_count]</span></li>
					<li>文章数量: <span class="num">$stats[article_count]</span></li>
					<li><a href="$comments_url">评论数量</a>: <span class="num">$stats[comment_count]</span></li>
					<li><a href="$tagslist_url">标签数量</a>: <span class="num">$stats[tag_count]</span></li>
					<li>附件数量: <span class="num">$stats[attachment_count]</span></li>
					<!--{if $options['enable_trackback']}-->
						<li><a href="$trackbacks_url">引用数量</a>: <span class="num">$stats[trackback_count]</span></li>
					<!--{/if}-->
					<li>注册用户: <span class="num">$stats[user_count]</span></li>
					<!--{if $options['enable_stat']}-->
						<li>在线人数: <span class="num">$stats[online_user]</span></li>
						<li>机器人数: <span class="num">$stats[online_robot]</span></li>
					<!--{/if}-->
				</ul>
			<!--{/if}-->

			<!--{if $options['sidebarlink_num']}-->
				<h4>Blogroll</h4>
				<!--{if $options['random_links']}-->
				随机显示$options[sidebarlink_num]个友情链接
				<!--{/if}-->
				<ul>
				<!--{if !$linkcache}-->
					<li><a href="http://www.4ngel.net" target="_blank" title="安全天使网络安全小组">S4T</a></li>
					<li><a href="http://www.sablog.net" target="_blank" title="Sablog-X官方网站">Sablog-X</a></li>
					<li><a href="http://www.sablog.net/blog" target="_blank" title="angel's blog">angel's blog</a></li>
				<!--{else}-->
					<!--{loop $linkcache $data}-->
					<li><a href="$data[url]" target="_blank" title="$data[note]">$data[name]</a></li>
					<!--{/loop}-->
					<li><a href="$links_url">更多...</a></li>
				<!--{/if}-->
				</ul>
			<!--{/if}-->

			<h4>Meta</h4>
			<ul>
				<li><a href="$options[url]rss.php">RSS 2.0</a></li>
				<li><a href="$options[url]wap/">WAP</a></li>
				<li><a href="http://validator.w3.org/check?uri=referer" target="_blank">XHTML 1.0</a></li>
				<!--{if $options['icp']}-->
				<li><a href="http://www.miibeian.gov.cn/" target="_blank">$options[icp]</a></li>
				<!--{/if}-->
			</ul>

	  </div>
	</div>